Brion Vibber [Thu, 16 Feb 2012 20:29:45 +0000 (20:29 +0000)]
* (bug 34445) section edit and TOC hide/show links are excluded from selection and copy/paste on supporting browsers
Tested on current Firefox, Chrome, Safari, Opera:
* Firefox excludes from select and copy
* Chrome, Safari exclude from select, but they turn up on the copy
* Opera doesn't seem to support the setting (event namespaced)
* IE not tested but 10 should support it if 9 doesn't
Sam Reed [Thu, 16 Feb 2012 20:13:35 +0000 (20:13 +0000)]
Merge r111667 into trunk
Aaron Schulz [Thu, 16 Feb 2012 18:22:09 +0000 (18:22 +0000)]
Improve error log formatting and added error message info for InvalidResponseException
Alexandre Emsenhuber [Thu, 16 Feb 2012 17:12:20 +0000 (17:12 +0000)]
Use local context to get message
Alexandre Emsenhuber [Thu, 16 Feb 2012 16:09:08 +0000 (16:09 +0000)]
Whitespaces fixes
Robin Pepermans [Thu, 16 Feb 2012 16:05:43 +0000 (16:05 +0000)]
(Bug 31417) Content-holding div needs an ID.
Since the introduction of the class mw-content-ltr/rtl, it has been used to get the page text which is very bad because there are two class names and it is not always on the same place (if at all). This ID will always hold the bodytext (excluding categories, ArticleFeedback, ...).
Antoine Musso [Thu, 16 Feb 2012 15:44:58 +0000 (15:44 +0000)]
remove debug statement from r111643
need REL1_19, 1.19wmf1 backports
Antoine Musso [Thu, 16 Feb 2012 15:40:32 +0000 (15:40 +0000)]
(bug 34420) - Special:Version should use git
You can test it using git init in our $IP and do a dummy commit with:
git commit -a RELEASE-NOTES-1.19
Then head to Special:Version and look at the magic version number.
This need a backport in REL1_19 / 1.19wmf1 since WMF is going to use
git "soon" (tm).
Alexandre Emsenhuber [Thu, 16 Feb 2012 12:59:48 +0000 (12:59 +0000)]
Added wfDeprecated() call to wfSpecialList() now there no more calls to that function in core or extensions
Antoine Musso [Thu, 16 Feb 2012 08:36:36 +0000 (08:36 +0000)]
always have $wgDoxyGenerateMan defined
r101807 introduced a new variable which was not always defined.
Aaron Schulz [Thu, 16 Feb 2012 05:04:17 +0000 (05:04 +0000)]
Fixed bogus call to method on a string
Sam Reed [Thu, 16 Feb 2012 02:52:46 +0000 (02:52 +0000)]
Make wfProfileOut call be the last thing before the return
Sam Reed [Thu, 16 Feb 2012 02:52:11 +0000 (02:52 +0000)]
Followup r107002
Add a TODO to do this via hook or similar
Sam Reed [Thu, 16 Feb 2012 02:44:31 +0000 (02:44 +0000)]
Add NewParserTest to TestsAutoLoader.php
Fix undefined variable in testHelpers.inc
Sam Reed [Thu, 16 Feb 2012 02:35:48 +0000 (02:35 +0000)]
Cleanup a few unused globals
Sam Reed [Thu, 16 Feb 2012 02:34:59 +0000 (02:34 +0000)]
Add missing >
Ping r111324
Sam Reed [Thu, 16 Feb 2012 02:05:49 +0000 (02:05 +0000)]
Bad Aaron
Sam Reed [Thu, 16 Feb 2012 02:01:00 +0000 (02:01 +0000)]
Add missing wfProfileOut( __METHOD__ );
Sam Reed [Thu, 16 Feb 2012 00:54:34 +0000 (00:54 +0000)]
Fix user related direct member variable access
Tim Starling [Thu, 16 Feb 2012 00:51:10 +0000 (00:51 +0000)]
Temp patch for bug 34428, merged from 1.19wmf1 r111602
Roan Kattouw [Wed, 15 Feb 2012 23:38:40 +0000 (23:38 +0000)]
Followup r110592: rename 'blocking' to 'async', and invert the logic everywhere. This makes blocking loading (async=false) the default as it was before. r110592 made async loading (blocking=false) the default, which caused backwards compatibility problems when page HTML generated by 1.18 interacted with the 1.19 version of mw.loader
Jeroen De Dauw [Wed, 15 Feb 2012 22:59:06 +0000 (22:59 +0000)]
comment out inclusion awaiting putting this stuff back after slush
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:53 +0000 (22:56 +0000)]
Move to EP untill slush ends
Jeroen De Dauw [Wed, 15 Feb 2012 22:56:19 +0000 (22:56 +0000)]
Move to EP untill slush ends
Platonides [Wed, 15 Feb 2012 22:42:09 +0000 (22:42 +0000)]
Improve table comments.
Thomas Gries [Wed, 15 Feb 2012 22:40:38 +0000 (22:40 +0000)]
important fix inside HttpFunctions.php. I noticed that when you call HttpRequest::factory with noProxy=true for example inside an intranet, this is ignored in (Curl)HttpRequest because the proxy url is not cleared. This commit makes sure at lowest level - namel in the public function proxySetup() - that a optional(true) value of noProxy is observed and that it (now) also clears the proxy url. (I have been told that I am allowed to commit this patch. Please carefully review, as usual).
mrbluesky [Wed, 15 Feb 2012 21:20:05 +0000 (21:20 +0000)]
(bug 33442) Dont prompt for summary on page creation.
Sam Reed [Wed, 15 Feb 2012 21:06:13 +0000 (21:06 +0000)]
gearman has been nuked
Ping r110958
Rob Lanphier [Wed, 15 Feb 2012 20:44:58 +0000 (20:44 +0000)]
Bug 34397: align footer so that it doesn't overlap with sidebar in Simple skin
Aaron Schulz [Wed, 15 Feb 2012 20:24:15 +0000 (20:24 +0000)]
Delete the temp cdb file when an exception is thrown so they don't take up /tmp space
Raimond Spekking [Wed, 15 Feb 2012 20:11:31 +0000 (20:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Aaron Schulz [Wed, 15 Feb 2012 20:06:47 +0000 (20:06 +0000)]
Put the filename in more of the exceptions thrown
Daniel Friesen [Wed, 15 Feb 2012 19:44:54 +0000 (19:44 +0000)]
Add &useskin=default handling to always display the wiki's default skin.
Jeroen De Dauw [Wed, 15 Feb 2012 19:39:42 +0000 (19:39 +0000)]
follow up to r111468 - put in compatibility for php 5.2 using debug_backtrace hack
Daniel Friesen [Wed, 15 Feb 2012 19:33:13 +0000 (19:33 +0000)]
Add missing delimiters to the regexp in maintenace/dev/'s router.
Daniel Friesen [Wed, 15 Feb 2012 19:32:36 +0000 (19:32 +0000)]
Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEditForm:fields hook so that people will stop global'ing $wgOut. e.g.: In WikiEditor.
Jeroen De Dauw [Wed, 15 Feb 2012 16:53:50 +0000 (16:53 +0000)]
Follow up to r30985; not by ref
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:21:58 +0000 (16:21 +0000)]
* Use local context to get messages
* Link to Special:Whatlinkshere/Page instead of Special:Whatlinkshere?target=Page for consistency
* Removed to useless empty lines
Alexandre Emsenhuber [Wed, 15 Feb 2012 16:17:02 +0000 (16:17 +0000)]
Move wfIncrStats() near other debugging functions
Platonides [Wed, 15 Feb 2012 16:04:33 +0000 (16:04 +0000)]
Follow-up r111468, there were some changes left.
Antoine Musso [Wed, 15 Feb 2012 15:29:22 +0000 (15:29 +0000)]
(bug 34192) Gender aliases for Albanian (Aln)
r111403 already did it for 'sq', this is for 'aln'.
Jeroen De Dauw [Wed, 15 Feb 2012 14:47:25 +0000 (14:47 +0000)]
fix call to protected method and killed dead code
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:34:08 +0000 (13:34 +0000)]
Settings $this->mFile to false and checking for !$this->mFile the line after is rather... useless
Alexandre Emsenhuber [Wed, 15 Feb 2012 13:31:20 +0000 (13:31 +0000)]
Removed assertions calling MWNamespace::isMain() from MWNamespaceTest::testIsSubject() that give an error since the former now calls wfDeprecated()
Trevor Parscal [Wed, 15 Feb 2012 00:14:45 +0000 (00:14 +0000)]
Fixed green button styles to match colors in actual image files. You're welcome werdna!
Jeroen De Dauw [Tue, 14 Feb 2012 22:27:07 +0000 (22:27 +0000)]
move method and added warning on count function
Raimond Spekking [Tue, 14 Feb 2012 21:44:34 +0000 (21:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Jeroen De Dauw [Tue, 14 Feb 2012 21:42:22 +0000 (21:42 +0000)]
follow up to r111468 - fixed various issues caused by refactoring
Jeroen De Dauw [Tue, 14 Feb 2012 21:16:39 +0000 (21:16 +0000)]
follow up to r111468 - moved a bunch of methods from DBDataObject to DBTable and some minor changes
Antoine Musso [Tue, 14 Feb 2012 20:20:56 +0000 (20:20 +0000)]
enable purge of HTTPS URLs
Jeroen De Dauw [Tue, 14 Feb 2012 18:11:52 +0000 (18:11 +0000)]
follow up to r111264; split up class into one representing a table and one representing rows. Also getting rid of staticness, in particular LSB, so this becomes PHP 5.2 compatible. Not done yet, will follow up later
Alexandre Emsenhuber [Tue, 14 Feb 2012 15:06:13 +0000 (15:06 +0000)]
Also call $this->clear() from WikiPage::doDeleteUpdates() so that the object is in a consistent state after deletion
Alexandre Emsenhuber [Tue, 14 Feb 2012 14:10:32 +0000 (14:10 +0000)]
Always send 1 for "-total" item in wfIncrStats() when destination is UDP; it should not depend on the $count parameter
Antoine Musso [Tue, 14 Feb 2012 09:59:59 +0000 (09:59 +0000)]
split ns selector tests for filter / disable options
ping r111376
Aaron Schulz [Tue, 14 Feb 2012 07:25:48 +0000 (07:25 +0000)]
Reverted r111186, r111226: broken per CR
Sam Reed [Tue, 14 Feb 2012 04:05:49 +0000 (04:05 +0000)]
Documentations!
Daniel Friesen [Tue, 14 Feb 2012 02:22:02 +0000 (02:22 +0000)]
Introduce property: and itemprop: support for addMeta to add RDFa <meta property="..." content="..."> and Microdata <meta itemprop="..." content="..."> to the <head>.
This is done in a way that can also be feature tested, and technically could be expanded by extensions.
Andrew Garrett [Mon, 13 Feb 2012 22:39:15 +0000 (22:39 +0000)]
Modification to jquery.localize.js: For HTML elements, allow a raw="" parameter, which prevents escaping. Reviewed by Trevor before I committed it.
Andrew Garrett [Mon, 13 Feb 2012 22:32:44 +0000 (22:32 +0000)]
Port (with changes) r110866 to trunk. Reviewed by Brion before commit.
Brian Wolff [Mon, 13 Feb 2012 20:29:41 +0000 (20:29 +0000)]
follow-up r111342. Document the callerOffset paramter being used per CR.
Robin Pepermans [Mon, 13 Feb 2012 20:26:02 +0000 (20:26 +0000)]
Remove all usage of wfUILang(), deprecated in 1.18. Also some other minor tweaks. Didn't remove wfUILang itself yet in case someone uses older versions of the extensions with trunk/1.20.
Raimond Spekking [Mon, 13 Feb 2012 19:45:00 +0000 (19:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net
Niklas Laxström [Mon, 13 Feb 2012 19:36:49 +0000 (19:36 +0000)]
* (bug 34192) Namespace gender aliases for Albanian (sq)
Jeroen De Dauw [Mon, 13 Feb 2012 19:13:30 +0000 (19:13 +0000)]
fix doc
Alexandre Emsenhuber [Mon, 13 Feb 2012 18:42:35 +0000 (18:42 +0000)]
* (bug 34377) action=watch now parses messages using the correct title instead of "API"
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:43:43 +0000 (16:43 +0000)]
Use local context to get message
Alexandre Emsenhuber [Mon, 13 Feb 2012 16:38:37 +0000 (16:38 +0000)]
Use WikiPage instead of Article to call doDeleteArticle
Antoine Musso [Mon, 13 Feb 2012 16:35:59 +0000 (16:35 +0000)]
Remove backslash from @return types
Ping r111103
Sam Reed [Mon, 13 Feb 2012 15:53:06 +0000 (15:53 +0000)]
Pull 1.19wmf1 related patches/code out of trunk/REL1_19, they exist in 1.18wmf1 and 1.19wmf1 now
Krinkle [Mon, 13 Feb 2012 15:25:08 +0000 (15:25 +0000)]
[mw.debug] Clean up
* Instead of inline global variable and lazy-loading, using ResourceLoader (using mw.config and mw.loader)
* Can't use OutputPage::addJsConfigVars / OutputPage::addModules because debug is called after those are handled, using ResourceLoader::makeConfigSetScript instead
Krinkle [Mon, 13 Feb 2012 15:17:15 +0000 (15:17 +0000)]
[RL] Comment mod and other minor changes
_ Add comment about why it casts to (object)
- Modify function comment
- Whitespace (start the function body on a new line in debug mode. In production mode this is trimmed away afterwards)
- Remove the jQuery->$ passage from loader. There is already a global alias for $ by jQuery, and aside from that every module has it's own (function(){}) wrapper that aliases it from jQuery (not from $), so there is no performance gain either by having it locally here since it doesn't use that.
Krinkle [Mon, 13 Feb 2012 15:13:09 +0000 (15:13 +0000)]
[JSTesting] Follow-up r110619: Fix introduced race-condition
- mediawiki.util has dependencies as well, load order is important.
- This index.html is very hairy and most people should just ignore it, it predates the automated ResourceLoader-ified Special:JavaScriptTesting page, hence the manual dependency resolution here.
Krinkle [Mon, 13 Feb 2012 15:08:26 +0000 (15:08 +0000)]
[Html] Follow-up r109990: Add support for excluding and disabling options
Krinkle [Mon, 13 Feb 2012 14:53:40 +0000 (14:53 +0000)]
[Html] Follow-up r109990: Add category to example namespaces
- Category is a special case since it is not moveable by default, useful to keep in the test
Sam Reed [Mon, 13 Feb 2012 14:22:37 +0000 (14:22 +0000)]
Bug 34353 - Fix for RELEASE-NOTES-1.19: diff colors are no longer from French Wikipedia
Alexandre Emsenhuber [Mon, 13 Feb 2012 14:01:32 +0000 (14:01 +0000)]
Removed FakeTitle::userCanEditCssJsSubpage() for consistency since Title::userCanEditCssJsSubpage() doesn't exist anymore
Mark A. Hershberger [Mon, 13 Feb 2012 12:40:21 +0000 (12:40 +0000)]
revert r111225 and r111201
Tim Starling [Mon, 13 Feb 2012 06:17:56 +0000 (06:17 +0000)]
Updated the message preload list for Vector and other changes since r52503
Daniel Friesen [Mon, 13 Feb 2012 00:35:35 +0000 (00:35 +0000)]
Revert r106393; I do not find it acceptible for MediaWiki to ship by-default strangling it's deprecation notices.
Extension authors are supposed to be notified of deprecated code they are using that may disappear. This config variable was added so that devs who had an explicit reason to hide specific ranges of deprecation notices from MediaWiki (as opposed to all MediaWiki deprecation notices, or all php deprecation notices) not as a method of hiding notices that people are supposed to see from everyone.
Any dev who wants to should shoot themselves in the foot, that's their job. It is NOT our job to shoot everyone in the foot because some devs are too lazy to shoot themselves.
Brian Wolff [Mon, 13 Feb 2012 00:19:06 +0000 (00:19 +0000)]
Give a warning when people use $wgArticle. Add's a class that can be used to give warnings for other globals too.
See discussion on r111168.
Of course no one will see warning because trunk has $wgDeprecationReleaseLimit set to 1.17 by default
(<rant>have I mentioned how I don't like that variable. People enable warnings to be *warned* about
things. Making it so people won't get warned about things until a couple months after we've decided people
should stop using function/interface/etc defeats the purpose of having warnings</rant>)
p.s. Wasn't sure if this waranted something in the release notes, I don't think it does (It's just adding a warning)
but wasn't sure.
Robin Pepermans [Sun, 12 Feb 2012 23:42:39 +0000 (23:42 +0000)]
add warning note to isKnown() per r111017
Jeroen De Dauw [Sun, 12 Feb 2012 23:10:06 +0000 (23:10 +0000)]
follow up to r111017, move hook to isAlwatsKnown as per discussion on CR
Antoine Musso [Sun, 12 Feb 2012 19:51:03 +0000 (19:51 +0000)]
Fix some injection from r110871
Antoine Musso [Sun, 12 Feb 2012 19:40:13 +0000 (19:40 +0000)]
revert core part of r111231
That one removed wfLoadExtensionMessages() . We do not want to break
back compatiliblity right now.
Antoine Musso [Sun, 12 Feb 2012 19:33:52 +0000 (19:33 +0000)]
revert r111028 (attempt to fix bug 34254)
That patch was obviously wrong, it disabled compression for any
requests *blushes* :-]
Jeroen De Dauw [Sun, 12 Feb 2012 19:27:09 +0000 (19:27 +0000)]
v2, not v3
Antoine Musso [Sun, 12 Feb 2012 19:25:28 +0000 (19:25 +0000)]
revert r111234 (deprecated methods removal)
Reasons invoked by Rob Lanphier are:
* ongoing code slush
* backwards compatilibility issues
Alexandre Emsenhuber [Sun, 12 Feb 2012 19:18:36 +0000 (19:18 +0000)]
Added missing directories to findHooks.php and missing quote in hooks.txt that made LoginAuthenticateAudit show up as undocumented when running findHooks.php
Krinkle [Sun, 12 Feb 2012 18:58:28 +0000 (18:58 +0000)]
[Html.php] Follow-up r110275, comment fixes.
* $options does not contain <option> elements, but associative array between option-values and option-labels
Jeroen De Dauw [Sun, 12 Feb 2012 18:11:23 +0000 (18:11 +0000)]
Follow up to r111309; fix if condition and style fix
Platonides [Sun, 12 Feb 2012 17:47:39 +0000 (17:47 +0000)]
Useless wrapping on an anonymous function. Follow-up r111264
Platonides [Sun, 12 Feb 2012 17:36:06 +0000 (17:36 +0000)]
Convert rawSelect() into rawSelectRow()
Get rid of odd foreach().
The database select() is able to handle empty arrays.
Jeroen De Dauw [Sun, 12 Feb 2012 15:51:24 +0000 (15:51 +0000)]
follow up to r111264 - get rid of wgDBDataObjects as per suggestion by Platonides
Alexandre Emsenhuber [Sun, 12 Feb 2012 15:37:29 +0000 (15:37 +0000)]
Fix exception's text: use __construct() instead of class name for constructor and WikiPage::doEditUpdates() instead of Article::editUpdates()
Alexandre Emsenhuber [Sun, 12 Feb 2012 15:22:01 +0000 (15:22 +0000)]
* Use WikiPage instead of Article to call doEdit()
* Use a local user object and pass it WikiPage::doEdit()
* User::$mRights is a flat array of permissions, not a 2-D array like $wgGroupPermissions
Sam Reed [Sun, 12 Feb 2012 15:21:52 +0000 (15:21 +0000)]
Fixup documentation
Alexandre Emsenhuber [Sun, 12 Feb 2012 14:38:42 +0000 (14:38 +0000)]
Revert r111168 (removed of $wgArticle) since it seems that this is too early for some people; also removed the comment stating the removal was due in 1.20 (might want to be merged in 1.19).
Jeroen De Dauw [Sun, 12 Feb 2012 14:05:58 +0000 (14:05 +0000)]
rename canHas to canHave
Jeroen De Dauw [Sun, 12 Feb 2012 13:58:22 +0000 (13:58 +0000)]
follow up to r111266, missed these :/
Jeroen De Dauw [Sun, 12 Feb 2012 13:52:11 +0000 (13:52 +0000)]
use array_diff instead of self written equivalent